Remove ndebug, add config of debug assertions
authorAlex Crichton <alex@alexcrichton.com>
Tue, 24 Mar 2015 00:45:41 +0000 (17:45 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 24 Mar 2015 17:54:41 +0000 (10:54 -0700)
commitc54fc006263045317da7b12ee4f7aa72402c33ad
treedc36dd00d86eaeaa3abd0c07d79507373405d029
parentc6b93247c6b0de303e05f736b285447c3d75af6b
Remove ndebug, add config of debug assertions

This commit removes the ndebug support from Cargo and also adds a new
configuration option for profiles, `debug-assertions`, which controls whether
debug assertions in the compiler are turned on or not.

Closes #1398
src/cargo/core/manifest.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/toml.rs
src/doc/manifest.md
tests/test_cargo_bench.rs
tests/test_cargo_compile.rs
tests/test_cargo_profiles.rs
tests/test_cargo_run.rs
tests/test_cargo_test.rs